import time
A=(randint(0,100)for i in range(5000)
start = time.time()
swopped = True
while swapped:
    swappet = False
    for i in range(len (A)-1):
        if A[i] > A[i+1]
        A[i], A[i+1] = A[i+1],A[i]
        swapped = True
